<template>
  <div class="login">
    <h1>login</h1>
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue'
import { axios } from '@/service'

export default defineComponent({
  setup() {
    axios
      .get('/vue3user/selectAll')
      .then((res) => {
        console.log('请求来的响应结果：', res)
      })
      .catch((err) => console.log(err))

    return {}
  }
})
</script>
<style scoped lang="less"></style>
